package id.net.iconpln.bb.server;

import id.net.iconpln.bb.client.service.PengendalianRPCService;
import id.net.iconpln.bb.server.service.GudangService;
import id.net.iconpln.bb.server.service.PengendalianService;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;

@Repository
public class PengendalianRPCServiceImpl extends RemoteServiceServlet implements PengendalianRPCService{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1506143620539731103L;
	@Autowired private PengendalianService pengendalianService;
	@Autowired private GudangService gudangService;
	
	@Override
	public List<Map> getListPengiriman(String kode, Map map) {
		// TODO Auto-generated method stub
		return pengendalianService.getListPengiriman(kode, map);
	}

	@Override
	public List<Map> getListPasokan(String kode, Map map) {
		// TODO Auto-generated method stub
		return pengendalianService.getListPasokan(kode, map);
	}

	@Override
	public List<Map> setPeringatanPemutusan(String kode, Map map) {
		// TODO Auto-generated method stub
		return pengendalianService.setPeringatanPemutusan(kode, map);
	}

	@Override
	public List<Map> setBlackList(String kode, Map map) {
		// TODO Auto-generated method stub
		return pengendalianService.setBlackList(kode, map);
	}

	@Override
	public List<Map> setBaSt(String kode, Map map) {
		// TODO Auto-generated method stub
		return pengendalianService.setBaSt(kode, map);
	}
	
	@Override
	public List<Map> insertOperatorBB(String kode, Map map) {
		// TODO Auto-generated method stub
		return gudangService.insertOperatorBB(kode, map);
	}

	@Override
	public List<Map> getListProduksi(String kode, Map map) {
		// TODO Auto-generated method stub
		return gudangService.getListProduksi(kode, map);
	}


}
